<?php 
class docsObj 
{
	var $id;
	var $name;
	var $originalName;
	var $type;
	var $size;
	var $uploadedTime;
	var $uploadedBy;
	var $uploadedDir;
	var $otherFields;

	public function TableName() { return "docs";}
	public function idFieldName() { return "id";}
	public function nameFieldName() { return "name";}
	public function originalNameFieldName() { return "originalName";}
	public function typeFieldName() { return "type";}
	public function sizeFieldName() { return "size";}
	public function uploadedTimeFieldName() { return "uploadedTime";}
	public function uploadedByFieldName() { return "uploadedBy";}
	public function uploadedDirFieldName() { return "uploadedDir";}

	function docsObj ($pid="",$pname="",$poriginalName="",$ptype="",$psize="",$puploadedTime="",$puploadedBy="",$puploadedDir="") {

		$this->id = $pid;
		$this->name = $pname;
		$this->originalName = $poriginalName;
		$this->type = $ptype;
		$this->size = $psize;
		$this->uploadedTime = $puploadedTime;
		$this->uploadedBy = $puploadedBy;
		$this->uploadedDir = $puploadedDir;
	}

} 
?>